package com.sugar.subscribe.course.module.business.controller.admin.withdrawrecord.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.sugar.subscribe.course.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.sugar.subscribe.course.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 提现记录分页 Request VO")
@Data
public class WithdrawRecordPageReqVO extends PageParam {

    @Schema(description = "用户ID", example = "15248")
    private Long coachId;

    @Schema(description = "提现状态：[0待审核；1审核通过；2已到账；3审核拒绝；4提现失败]", example = "2")
    private Integer status;

    @Schema(description = "提现到账时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] doneTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}